
  *{box-sizing: border-box;}
  html{
    position: relative;
    font-family: 'PingFang-SC-Regular, Microsoft YaHei';
    font-size: 62.5%;
    height: 100%;
    width: 100%;
    background: #f5f5f5;
    /* overflow: hidden; */
  }
  body{
    height: 100%;
    width: 100%;
  }
  .hide {
    display: none!important;
  }

  #loader {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.2);
  }

  .spinner {
    width: 40px;
    height: 40px;
    position: relative;
    margin: 100px auto;
  }

  .double-bounce1, .double-bounce2 {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #fff;
    opacity: 0.6;
    position: absolute;
    top: 0;
    left: 0;

    -webkit-animation: sk-bounce 2.0s infinite ease-in-out;
    animation: sk-bounce 2.0s infinite ease-in-out;
  }

  .double-bounce2 {
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
  }

  @-webkit-keyframes sk-bounce {
    0%, 100% { -webkit-transform: scale(0.0) }
    50% { -webkit-transform: scale(1.0) }
  }

  @keyframes sk-bounce {
    0%, 100% {
        transform: scale(0.0);
        -webkit-transform: scale(0.0);
    } 50% {
          transform: scale(1.0);
          -webkit-transform: scale(1.0);
      }
  }
  .device-wrapper{
    height: 100%;
  }
  /* toast */
  .toast{
    position: absolute;
    box-sizing: border-box;
    max-width: 50%;
    border-radius: 4px;
    padding: 8px 18px;
    color: #fff;
    font-size: 14px;
    background: rgba(0,0,0,0.8);
    top: 49px;
    word-wrap: break-word;
    left: 50%;
    top: 20%;
    line-height: 1.6;
    transform: translateX(-50%);
  }
  /* 首页 */
  .btn-next{
    display: block;
    width: 100%;
    padding: 14px 0;
    color: #FFFFFF;
    font-size: 14px;
    text-align: center;
    background: #30C0B1;
    border-radius: 35px;
  }
  .index-content{
    margin-top: 10px;
    padding: 20px 15px;
    background: #fff;
    height: calc(100% - 58px);
  }
  .index-img{
    margin-bottom: 40px;
  }
  .index-img> img{
    width:100%;
  }
  /* 管控页 */
  .fr{
    float: right;
  }
  .f-green{
    color: #2fbbac;
  }
  .f-red{
    color:#B92020
  }
  .door-control-hearder{
    height: 45px;
    width: 100%;
    background: #ffffff;
    transform: scale3d(1, 1, 1);
    
  }
  .door-head{
    /* position: fixed; */
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    /* display: flex; */
    color: #3e3e3e;
    z-index: 88;
  }
  .door-control-hearder .back{
    /* display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center; */
    text-align: center;
    display: inline-block;
    line-height: 45px;
    width: 45px;
    height: 45px;
    color: #3e3e3e;
    font-size: 18px;
  }
  .door-control-hearder .back:active{
    background: rgba(0,0,0,0.2)
  }
  .door-control-hearder h1{
    width: 50%;
    position: absolute;
    top: 0%;
    transform: translateX(-50%);
    left: 50%;
    text-align: center;
    font-size: 16px;
    line-height: 45px;
  }
  .battery-status-icon{
    float: right;
    font-size: 0;
    overflow: hidden;
    padding-top: 5px;
  }
  .battery{
    font-size: 28px;
    vertical-align: middle;
    display: inline-block;
  }
  .battery-text{
    color: #000;
    padding-left: 6px;
    font-size: 10px;
    vertical-align: middle;
    /* margin-top: -5px; */
    display: inline-block;
  }
  .tips{
    position: absolute;
    border: 1px solid #ABABAB;
    padding: 3px 8px;
    border-radius: 100px;
    color: #000;
    font-size: 12px;
    left: 50%;
    top: 11px;
    transform: translateX(-50%);
    z-index: 99;
  }
  .tips:hover{
    background: rgba(207,207,207,0.1)
  }
  .door-control-box{
    height: 100%;
    background: #fff;
    padding-top: 10px;
  }
  .door-control-body{
    position: relative;
    margin-top: 10px;
    background: #fff;
    padding: 0 10px 40px;
    overflow: hidden;
    /* margin-top: 55px; */
  }

  .door-status-img{
    /* position: relative; */
    text-align: center;
    color: #8e8e8e;
    /* line-height: 2; */
    /* margin-top: 36px; */
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    font-size: 14px;
  }
  .door-status-img .alarm-text{
    position: absolute;
    bottom: 10px;
    font-size: 14px;
    color: #000000;
  }
  .door-history-status{
    padding:0 15px;
  }
  .date{
    padding: 12px 0;
    font-size: 16px;
    border-bottom: 1px solid #e4e4e4;
    overflow: hidden;
    margin-bottom: 10px;
    line-height: 20px;
  }
  .calendar{
    float: right;
    color: #2fbbac;
    font-size: 22px;
    /* margin-top: -9px; */
  }
  .week{
    padding-left:4px;
    color: #bcbcbc;
  }
  .door-status-box{
    position: relative;
    overflow-y: auto;
  }
  
  .door-status-box .status-item{
    flex: 1;
    padding-left: 50px;
    font-size: 16px;
  }
  .door-status-box .time{
    position: relative;
    color: #b9b9b9;
    font-size: 14px;
    padding-top: 5px;
    line-height: 20px;
  }
  .status-item .time::before {
    position: absolute;
    content: '';
    width: 8px;
    height: 8px;
    background: #fff;
    border:2px solid #2fbbac;
    margin-bottom: 10px;
    border-radius: 50%;
    left: -34px;
    top: 4px;
    margin: 6px 0;    
  }
  .status-item:first-child .time:before {
    position: absolute;
    content: '';
    background: #2fbbac;
    left: -34px;
    top: 4px;
  }
  .status-item:first-child .reason{
    color: #373737;
  }
  .status-item .reason {
    position: relative;
    color: #8a8a8a;
    padding: 4px 0 10px;
    margin-bottom: 5px;
    line-height: 20px;
    font-size: 14px;
  }
  .status-item .reason::before{
    position: absolute;
    content: '';
    left: -29px;
    top: 5px;
    width: 1px;
    background: #2fbbac;
    height: 100%;
  }
  .status-item:last-child .reason::before{
    display: none;
  }
  .door-status-box .line{
    position: absolute;
    left: 22px;
    top: 5px;
    width:1px;
    background: #2fbbac;
    height: 90%;
  }
  /* 圆圈 */
  .circle-gray, .circle-green, .circle-red{
    position: relative;
    display: inline-block;
    width: 186px;
    height: 186px;
    padding: 6px;
    margin-bottom: 20px;
  }
  .circle-gray::before, .circle-green::before, .circle-red::before{
    box-sizing: border-box;
    position: absolute;
    content: '';
    width: 200%;
    height: 200%;
    /* transform: translateX(-50%); */
    left: 50%;
  }
  .circle-gray::before{
    border: 1px solid #ABABAB;
    transform: scale(0.5, 0.5) translateX(-50%);
    transform-origin: 0 0;
    border-radius: 50%;
  }
  .circle-green::before{
    border: 1px solid #20B9A8;
    transform: scale(0.5, 0.5) translateX(-50%);
    transform-origin: 0 0;
    border-radius: 50%;
  }
  .circle-red::before{
    border: 1px solid #B92020;
    transform: scale(0.5, 0.5) translateX(-50%);
    transform-origin: 0 0;
    border-radius: 50%;
  }
  .circle-inner-gray, .circle-inner-green, .circle-inner-red{
    display: flex;
    justify-content: center;
    align-items: center;
    background: #FFFFFF;
    width: 100%;
    height: 100%;
    margin-top: 6px;
  }
  .circle-inner-gray{
    border: 1px solid #ABABAB;
    box-shadow: inset 0 1px 9px 0 rgba(116,116,116,0.19);
    border-radius: 100%;
  }
  .circle-inner-green{
    border: 1px solid #30C0B1;
    box-shadow: inset 0 1px 9px 0 rgba(48,192,177,0.19);
    border-radius: 100%;
  }
  .circle-inner-red{
    border: 1px solid #B92020;
    box-shadow: inset 0 1px 9px 0 #B31A16;
    border-radius: 100%;
  }
  .gray-icon{
    font-size: 64px;
    color: #ABABAB;
    height: 65px;
  }
  .green-icon{
    font-size: 64px;
    color: #30C0B1;
    height: 65px;
  }
  .red-icon{
    font-size: 64px;
    color: #B92020;
    height: 65px;
  }
  .current-status{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 15px;
    color: #000;
    font-size: 14px;
  }
  /* 遮罩层弹窗 */
  /* .tips-mask{
    position: relative;
    padding: 20% 14% 0;
  } */
  .tips-content{
    display: none;
    position: absolute;
    width: 80%;
    background: #FFFFFF;
    border: 1px solid #979797;
    border-radius: 13px;
    padding: 20px 15px;
    z-index: 101;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s ease;
  }
  .tips-content .title{
    font-size: 16px;
    color: #333333;
    text-align: center;
  }
  .tips-content .text{
    font-size: 14px;
    color: #666666;
    margin: 20px 0;
    line-height: 21px;
  }
  .mask{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.50);
    z-index: 100;
  }